package com.black.opsadmin.dao;

import com.black.opscommon.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author qiang.zhang
 * @date 2018-11-22
 */
public interface UserDao {

    /**
     * findByUsername
     * @param username
     * @return
     */
    User findByUsername(@Param("username") String username);

    /**
     * findByEmail
     * @param email
     * @return
     */
    User findByEmail(@Param("email") String email);
}

